package withLamportClock;

/**
 * tp 3 !
 * @author jjeske
 *
 */
public class startDPwithLamportClockSemaphores {
	
	public static void main(String[] args){
		//start the philosopers table!
		
		Thread[] filosofos = new Thread[5];
		Thread[] garcons = new Thread[5];

		for(int i=0;i<5;i++){
			garcons[i] = new Thread(new Helper(i));
			filosofos[i] = new Thread(new Philo(i));
		}
		
		for(int i=0;i<5;i++){
			garcons[i].start();
			filosofos[i].start();
		}
		
		for(int i=0;i<5;i++){
					
		}
		
		
		

		
		
	}

}
